package com.fin.quant.instra.mysql.model;

import java.util.Date;

/**
 * 通用资产表
 */
public class Asset {
    /**
    * 资产ID，自增主键
    */
    private Long id;

    /**
    * 资产代码，如AAPL、600519.SH、ETF代码等
    */
    private String assetCode;

    /**
    * 资产名称，如Apple、贵州茅台
    */
    private String assetName;

    /**
    * 资产类型:stock,fund,crypto
    */
    private String assetType;

    /**
    * 市场，如NASDAQ, SSE, HKEX
    */
    private String market;

    /**
    * 交易货币，默认USD
    */
    private String currency;

    /**
    * 所属行业/板块
    */
    private String sector;

    /**
    * 国家/地区
    */
    private String country;

    /**
    * 创建时间
    */
    private Date createdAt;

    /**
    * 更新时间
    */
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAssetCode() {
        return assetCode;
    }

    public void setAssetCode(String assetCode) {
        this.assetCode = assetCode;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetType() {
        return assetType;
    }

    public void setAssetType(String assetType) {
        this.assetType = assetType;
    }

    public String getMarket() {
        return market;
    }

    public void setMarket(String market) {
        this.market = market;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getSector() {
        return sector;
    }

    public void setSector(String sector) {
        this.sector = sector;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}